package com.njitzx.fileupload.mapper;

import com.njitzx.fileupload.pojo.FileEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface FileMapper {
    @Select("select * from  file_url_table where file_md5=#{md5};")
    FileEntity getMd5(String md5);

    void insertFile(FileEntity file1);
}
